from spirems import Publisher, def_msg
import time

pub = Publisher('/topic/pose', 'geometry_msgs::Pose')
while True:
    msg = def_msg('geometry_msgs::Pose')
    msg['position']['x'] = 10.0
    msg['position']['y'] = 2.0
    msg['position']['z'] = 5.5
    msg['orientation']['x'] = 3.0
    msg['orientation']['y'] = 2.0
    msg['orientation']['z'] = 4.0
    msg['orientation']['w'] = 1.0
    pub.publish(msg)
    time.sleep(1)
